Contrast

Adjusts the contrast of a imaG image.

Syntax: imaG.Contrast contrast
contrast (integer) The factor by which to increase or decrease the contrast of the image; use 0 for no contrast, 100 for maximum, 50 to cause no change.

If the imaG contains a palettized image, then the palette is adjusted.

If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.

See also Brigtness , Gamma , Filter , GrayScale